package com.dg.cuckoo.admin.repository;

import com.dg.cuckoo.admin.dto.basicInformation.userInfo.UserInfoRelatedDto;
import com.dg.cuckoo.core.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserInfoRelatedRepository extends BaseRepository<UserInfoRelatedDto,String> {

    UserInfoRelatedDto findByUserId(String userId);

    List<UserInfoRelatedDto> findByCompanyName(String companyName);

}
